﻿<phone:PhoneApplicationPage
    x:Class="JustinAngel.MindwaveSensor.WP8.TestApp.Menu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel Grid.Row="0" Margin="12,17,0,0">
            <TextBlock Text="JustinAngel.Mindwave.WP8" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock Text="Mindwave" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <StackPanel Visibility="Collapsed">
                <Button Content="See setup instructions" />
                <Button Content="Go to connection screen" Click="btnConnect_Click" />
                <Button Content="Show EEG Text data" IsEnabled="False" Click="btnTextData_Click"/>
                <Button Content="show EEG in Line Chart" IsEnabled="False" Click="btnLineChart_Click" />
                <Button Content="Show Attention &amp; Meditation Gagues" IsEnabled="False" Click="btnGagues_Click" />
                <Button Content="Custom controls" Click="btnControls_Click"/>
                <Button Content="Standalone sample" x:Name="btnStandalone" Click="btnStandalone_Click"/>
            </StackPanel>
            <Button Content="Connect" Click="btnConnect_Click" HorizontalAlignment="Left" Height="222" Style="{StaticResource RectImageButton}" VerticalAlignment="Top" Width="224">
            	<Button.Background>
            		<ImageBrush Stretch="Fill" ImageSource="/Assets/Bluetooth.png"/>
            	</Button.Background>
            </Button>
            <Button x:Name="btnTextData" Click="btnTextData_Click" Content="EEG Text" HorizontalAlignment="Left" Style="{StaticResource RectImageButton}" VerticalAlignment="Top" Margin="225,225,0,0">
            	<Button.Background>
            		<ImageBrush Stretch="Fill" ImageSource="/Assets/EEGText.png"/>
            	</Button.Background>
            </Button>
            <Button x:Name="btnLineChart" Click="btnLineChart_Click" Content="EEG Chart" HorizontalAlignment="Left" Style="{StaticResource RectImageButton}" VerticalAlignment="Top" Margin="0,225,0,0">
            	<Button.Background>
            		<ImageBrush ImageSource="/Assets/EEGChart.png"/>
            	</Button.Background>
            </Button>
            <Button x:Name="btnGagues" Click="btnGagues_Click" Content="Attention &amp; &#xD;&#xA;Meditation" HorizontalAlignment="Left" Style="{StaticResource RectImageButton}" VerticalAlignment="Top" Margin="225,455,0,-13" Foreground="White">
            	<Button.Background>
            		<ImageBrush Stretch="Fill" ImageSource="/Assets/AttentionAndMeditation.png"/>
            	</Button.Background>
            </Button>
            <Button x:Name="btnControls" Click="btnControls_Click" Content="Drag &amp; Drop" HorizontalAlignment="Left" Style="{StaticResource RectImageButton}" VerticalAlignment="Top" Margin="0,455,0,-13" Foreground="White">
            	<Button.Background>
            		<ImageBrush Stretch="None" ImageSource="/Assets/CustomControls.png"/>
            	</Button.Background>
            </Button>
            <Button x:Name="btnSetup" Click="btnSetup_Click" Content="Setup instructions" HorizontalAlignment="Left" Style="{StaticResource RectImageButton}" VerticalAlignment="Top" Margin="225,0,0,0">
            	<Button.Background>
            		<ImageBrush Stretch="None" ImageSource="/Assets/Setup.png"/>
            	</Button.Background>
            </Button>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>